package com.newcoin.xgb.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class RechargeReportDto {
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @NotBlank(message = "令牌不能为空")
    private String token;

    @NotNull(message = "请输入金额")
    private BigDecimal amount;

    @NotBlank(message = "请选择支付方式")
    private String theWay;

    @NotNull(message = "请传入充值类型")
    private Integer type;

    @NotBlank(message = "请上传支付成功截图")
    private String payResultImg;
}
